<?php

namespace plugin\admin\app\controller\plan;


use plugin\admin\app\logic\plan\PartLogic;
use plugin\admin\app\logic\plan\PlanPartImageLogic;
use support\Request;
use support\Response;
use plugin\admin\app\controller\AuthController;
use support\exception\BusinessException;

class PlanPartImageController extends AuthController
{
    
    /**
     * 浏览
     * @return Response
     */
    public function index(): Response
    {
        return view('plan/planpartimage/index');
    }

    /**
     * 查询
     * @param Request $request
     * @return Response
     * @throws BusinessException
     */
    public function select(Request $request): Response
    {
        return PlanPartImageLogic::getInstance()->select($request);
    }

}
